<?php


namespace app\common\model;


class Coach extends BaseModel
{
    protected $name = "coach";

    public function user(){
        $this->belongsTo('user','user_id','user_id');
    }
}